#ifndef TYPES_GUARD
#define TYPES_GUARD

//typedef float Real;


/*
struct Color
{
	Real r;
	Real g;
	Real b;
	Real a;
};



#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>

GLfloat Real_to_GLfloat(Real r)
{
	return GLfloat(r);
}


#include <d3d9.h>

struct D3DColor
{
	D3DColor(int r,int g,int b,int a):r(r),g(g),b(b),a(a){}
	int r;
	int g;
	int b;
	int a;
	
};
D3DColor Color_to_D3DColor(const Color& color)
{
	return D3DColor(255*color.r,255*color.g,255*color.b,255*color.a);
}

int Real_to_int255(Real r)
{
	return 255*r;
}
*/
#define POINT_LIST	1
#define LINE_LIST	2
#define LINE_STRIP	3
#define TRIANGLE_LIST	5
#define TRIANGLE_STRIP	6
#define TRIANGLE_FAN	7
enum Mode
{
	PointList,
	LineList,
	LineStrip,
	TrangleList,
	TrangleStrip,
	TrangleFan
};





#endif